''========================================================
'' Autor: 		Luis Antonio Lara Capetillo
'' Fecha Creación: 	21/5/2013
'' Descripcion: 	Clase perteneciente a la capa de negocios
''========================================================

Imports CapaDatos
Imports CapaEntidad

Public Class CN_DataAccesMigracion_Entrada

	Public Sub InsertarDataAccesMigracion_Entrada(ByVal DataAccesMigracion_Entrada As DataAccesMigracion_Entrada, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesMigracion_Entrada()
			claseCapaDatos.InsertarDataAccesMigracion_Entrada(DataAccesMigracion_Entrada, conexion, Verificador)
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ConsultaDataAccesMigracion_Entrada(ByRef Grid As System.Web.UI.WebControls.GridView, ByVal DataAccesMigracion_Entrada As DataAccesMigracion_Entrada, ByVal conexion As String, ByRef List As System.Collections.Generic.List(Of DataAccesMigracion_Entrada))
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesMigracion_Entrada()
			claseCapaDatos.ConsultaDataAccesMigracion_Entrada(DataAccesMigracion_Entrada, conexion, List)

			Grid.DataSource = List
			Grid.DataBind()
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ModificarDataAccesMigracion_Entrada(ByVal DataAccesMigracion_Entrada As DataAccesMigracion_Entrada, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesMigracion_Entrada()
			claseCapaDatos.ModificarDataAccesMigracion_Entrada(DataAccesMigracion_Entrada, conexion, Verificador)
		Catch ex As Exception
		Throw ex
		End Try
	End Sub

End Class